package com.yowasa.xiuxian.engine.battle.buff;

import com.yowasa.xiuxian.engine.battle.strategy.BattleStrategy;
import com.yowasa.xiuxian.entity.bo.battle.BattleContent;
import com.yowasa.xiuxian.entity.bo.battle.BuffContent;
import com.yowasa.xiuxian.entity.bo.battle.TempUserBattle;
import com.yowasa.xiuxian.entity.bo.battle.UserBattleContent;

public interface BuffInterface {

    //对个人属性产生对影响
    default void effectBattleInfo(BuffContent content, TempUserBattle userBattle) {

    }
    //回合开始时额外结算
    default void beforeBuffAction(UserBattleContent first, UserBattleContent second, BattleContent content) {
    }

    //回合结束时额外结算
    default void afterBuffAction(UserBattleContent first, UserBattleContent second, BattleContent content) {
    }

    //防御类buff处理
    default int defendBuffAction(UserBattleContent user, UserBattleContent battleUser, int dmg){
        return dmg;
    }

}
